package com.itheima.health.service;

import com.itheima.health.dto.OrderSubmitParam;
import com.itheima.health.pojo.Order;
import com.itheima.health.pojo.OrderVO;

public interface OrderService {
    /**
     * 预约
     * @param orderSubmitParam
     */
    Order submit(OrderSubmitParam orderSubmitParam);

    /**
     * 通过id查找
     * @param id
     * @return
     */
    OrderVO findById(Integer id);
}
